wayland/xdg-shell: update popup window monitor early
As meta_window_place_with_placement_rule will trigger a configure event
being sent ensure that the popup is placed on the correct monitor first
to ensure the right scale factor is applied.
Jonas Ådahl [Fri, 23 Sep 2016 09:15:56 +0000 (17:15 +0800)]
wayland/xdg-popup: Always use monitor of toplevel
Always use the monitor of the toplevel surface's window, so that the
popup menu and the parent will always have the same scale. This fixes
the dimensions sent in the xdg_popup configure event.
https://bugzilla.gnome.org/show_bug.cgi?id=771841
Gbp-Pq: Name wayland-xdg-popup-Always-use-monitor-of-toplevel.patch